package com.wty.swhn.wty.util;

import java.net.PortUnreachableException;

/**
 * Created by swhn on 2016/8/5.
 */
public class Const {
	/*联网状态*/
    //0:成功
    public static final int STATUS_SUCCESS = 0;
    //1.联网失败
    public static final int CONNECT_FAILURE = 1;
    //登录失败
    public  static final int LOGIN_FAILURE = 2;
    //用户已 存在
    public static final int STATUS_USER_CONFLICT=3;

    //联网状态
    public static final int NET_STATE_CLOSE=-1;
	public static final int NET_STATE_MOBILE=1;
	public static final int NET_STATE_WIFI=2;

	public static final String MSG_TYPE_ADD_FRIEND="msg_type_add_friend";//询问是否可以 添加好友
    public final static String KEY_DATA = "KEY_DATA";
    public final static String ACTION_lOGIN="com.wty.login";
    public final static String ACTION_ADD_FRIEND="com.wty.swhn.wty.util.ACTION_ADD_FRIEND";
    public final static String	KEY_IS_SUCCSS="KEY_IS_SUCCSS_A";
    public final static String	ADD_SUCCSS_FRIEND="ADD_SUCCSS_FRIEND";//开始添加好友
    public final static String	ACTION_lOGIN_ADD="ACTION_lOGIN_ADD";//开始添加好友广播注册器
    public final static String	ADD_ADDFRIEND_CONSENT="ADD_ADDFRIEND_CONSENT";//同意添加好友广播常量
    public final static String	ADD_ADDFRIEND_DEL_CONSENT="ADD_ADDFRIEND_NOT_CONSENT";//不同意添加好友广播常量
    public final static String	ACTION_ADDFRIEND_CONSENT="ACTION_lOGIN_CONSENT";//是否同意添加好友
    public final static String	REFUSE_ADDFRIEND="REFUSE_ADDFRIEND";//即拒绝对方的添加请求
    public final static String	REQUESE_ADDFRIEND_OK="REQUESE_ADDFRIEND_OK";//请求添对方为好友
    public final static String	ADDFRIEND_IS_OK="ADDFRIEND_IS_OK";//已是好友
    public final static String	ACTION_UPDATE_FRIEND="ACTION_UPDATE_FRIEND";//发广播，更新expandableListView
    public final static String	ACTION_SHOW_PRIVATE_MESSAGE="ACTION_SHOW_PRIVATE_MESSAGE";//接收好友消息（文本）
    public final static String ISNEEDLOG = "isneedlog";
    
    
    
	public static final String SPLIT="卍";
    		;
}
